package com.hosever.designPattern.builder;

import java.util.List;

public class Test {  
	  
    public static void main(String[] args) {  
        Builder builder = new Builder();  
        builder.produceMailSender(5);
        builder.produceSmsSender(5);  
        List<Sender> list = builder.getList();
       	for (Sender sender : list) {
       		sender.send();
		}
    }  
}  
